package com.xjoyt.pay.master.params;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xjoyt.pay.constants.DateConstant;
import com.xjoyt.pay.vo.PayType;
import com.xjoyt.pay.vo.TradeType;

public class OrderPageParam {

	public String parentId;

	public String query;

	public Boolean success;

	public Done done;

	public Boolean notify;

	public Pay pay;

	public Boolean check;

	public Boolean back;

	public PayType payType;

	public String merchantId;

	public String distributorId;

	public String queryByChannel;

	public TradeType tradeType;

	public class Pay {

		public Boolean success;

		public Pay() {
		}

		public Pay(boolean success) {
			this.success = success;
		}
	}

	public class Done {
		public Boolean success;

		public Done() {
		}

		public Done(boolean success) {
			this.success = success;
		}
	}

	/**
	 * 开始日期
	 */
	@JsonFormat(pattern = DateConstant.DATE_FORMAT_PATTERN, timezone = "GMT+8")
	public Date startDate;

	/**
	 * 结束日期
	 */
	@JsonFormat(pattern = DateConstant.DATE_FORMAT_PATTERN, timezone = "GMT+8")
	public Date endDate;

	/**
	 * 开始时间 (HH:mm:ss)
	 */
	public String startTime;

	/**
	 * 结束时间(HH:mm:ss)
	 */
	public String endTime;

	@JsonFormat(pattern = DateConstant.DATE_FORMAT_PATTERN, timezone = "GMT+8")
	public Date checkStartDate;

	@JsonFormat(pattern = DateConstant.DATE_FORMAT_PATTERN, timezone = "GMT+8")
	public Date checkEndDate;

}
